package com.xlk.cxf.service.impl;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import com.xlk.cxf.service.IHelloWorldService;

/**
 * 
 * CXF WebService 服务器端helloWorld示例 </br> 
 * 类名: HelloWorldService </br> 
 * 日期: 2014-2-18 下午02:26:14 </br> 
 * @author 许立亢 
 * @version 1.0
 */
@WebService
@SOAPBinding(style = Style.RPC)
public class HelloWorldService implements IHelloWorldService{
	public String sayHello(@WebParam(name = "name") String name) {
		return name + " say: Hello World ";
	}
}